package com.dataseek.iot.mysql.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author cc
 * @since 2021-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("功能参数")
public class ProductFunction implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "product_function_id", type = IdType.AUTO)
    private Long productFunctionId;

    /**
     * 产品ID
     */
    @ApiModelProperty(value = "产品ID", required = true)
    private String productId;

    /**
     * 功能编码
     */
    @ApiModelProperty(value = "功能编码", required = true)
    private String functionCode;

    /**
     * 功能名称
     */
    @ApiModelProperty(value = "功能名称", required = true)
    private String functionName;

    /**
     * 字典ID
     */
    @ApiModelProperty(value = "字典ID", required = true)
    private String dictId;

    /**
     * 功能类型
     */
    @ApiModelProperty(value = "功能类型", required = true)
    private String functionType;

    /**
     * 启用
     */
    @ApiModelProperty(value = "是否启用", required = true)
    private Boolean used;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", required = true)
    private String createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", required = true)
    private String updateTime;

    /**
     * 执行脚本
     */
    @ApiModelProperty(value = "执行脚本")
    private String executeScript;

    /**
     * 设定值
     */
    @ApiModelProperty(value = "赋值", required = true)
    private String functionValue;

    /**
     * 手自动
     */
    @ApiModelProperty(value = "手自动", required = true)
    private Boolean manual;


}
